﻿using Lan.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Lan.Business
{
    public class XT_TableService : BaseService<XT_Table>, IXT_TableService
    {
        IXT_TableRepository Repository = new XT_TableRepository();
        public void Add(XT_Table model)
        {
            Repository.Add(model);
        }

        public void CreateTable(string sql)
        {
            Repository.CreateTable(sql);
        }

        public XT_Table Find(Guid id)
        {
            return Repository.Find(id);
        }
    }
}
